package com.tencent.iov.cowin.befsale.clue.dao.http.mdquery.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.software.common.model.request.ScrmBaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 查询_Request层
 *
 * @author shaohua.yuan
 * @version 1.0
 * @created 2021-08-03 14:07:03
 */
@Data
@ApiModel(description = "客户表_Request层")
public class QueryUserRequest extends ScrmBaseRequest {

    /**
     * 客户表主键 oneid
     */
    @ApiModelProperty(value = "客户表主键 oneid", example = "stringValue")
    private Long id;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", example = "stringValue")
    private String name;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", example = "stringValue")
    private String phone;
    /**
     * 微信号
     */
    @ApiModelProperty(value = "微信号", example = "stringValue")
    private String wechatId;
    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号", example = "stringValue")
    private String idNumber;
    /**
     * 备用手机号
     */
    @ApiModelProperty(value = "备用手机号", example = "stringValue")
    private String standbyPhone;
    /**
     * 出生日期
     */
    @ApiModelProperty(value = "出生日期", example = "2020-03-28T13:46:56.711Z")
    private Date birthDate;
    /**
     * 所属省份
     */
    @ApiModelProperty(value = "所属省份", example = "stringValue")
    private String provinces;
    /**
     * 所属城市
     */
    @ApiModelProperty(value = "所属城市", example = "stringValue")
    private String city;
    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址", example = "stringValue")
    private String detailedAddress;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "stringValue")
    private String note;
    /**
     * 客户unionid
     */
    @ApiModelProperty(value = "客户unionid", example = "stringValue")
    private String unionid;
    /**
     * 外部联系人id
     */
    @ApiModelProperty(value = "外部联系人id", example = "stringValue")
    private String externalid;
    /**
     * 注册渠道
     */
    @ApiModelProperty(value = "注册渠道", example = "stringValue")
    private String registerChannel;
    /**
     * 注册时间
     */
    @ApiModelProperty(value = "注册时间", example = "2020-03-28T13:46:56.711Z")
    private Date registerTime;
    /**
     * 帐号状态（0：正常、-1：停用)
     */
    @ApiModelProperty(value = "帐号状态（0：正常、-1：停用)", example = "1")
    private Integer status;
    /**
     * 删除标志（0：代表存在、-1：代表删除）
     */
    @ApiModelProperty(value = "删除标志（0：代表存在、-1：代表删除）", example = "1")
    private Integer deleted;
    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID", example = "stringValue")
    private String tenantId;
    /**
     * t_corp表主键id
     */
    @ApiModelProperty(value = "t_corp表主键id", example = "stringValue")
    private String corpId;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", example = "stringValue")
    private String createdBy;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称", example = "stringValue")
    private String createdName;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "2020-03-28T13:46:56.711Z")
    private Date createdTime;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", example = "stringValue")
    private String updatedBy;
    /**
     * 修改人名称
     */
    @ApiModelProperty(value = "修改人名称", example = "stringValue")
    private String updatedName;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", example = "2020-03-28T13:46:56.711Z")
    private Date updatedTime;

    @ApiModelProperty(value = "开始时间", example = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startingTime;

    @ApiModelProperty(value = "结束时间", example = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    private String empId;


}